/**
 * Created with IntelliJ IDEA.
 * User: ttq
 * Date: 13-7-30
 * Time: 上午9:30
 * To change this template use File | Settings | File Templates.
 */
public class ServiceImpl implements IService {
    private IDao dao;

    public void service(String name) {
        System.out.println(dao.sayHello(name));
    }

    public IDao getDao() {
        return dao;
    }

    public void setDao(IDao dao) {
        this.dao = dao;
    }
}
